<?php 
include dirname(dirname(__FILE__)).'/functions.php';
$username = addslashes($_GET['username']);
if(isUsernameExist($username)) echo 'yes';
else echo 'no';